#include "recmatrix.h"
#include<new>


RecSparseMatrix::RecSparseMatrix()
{
	_num = 0;
	_nodes = NULL;
}

RecSparseMatrix::~RecSparseMatrix()
{
	if(_nodes != NULL){
		delete[] _nodes;
		_nodes = NULL;
	}
}

bool RecSparseMatrix::getIdx(int idx,int64_t& offset,int& rank)
{
	return true;
}

bool RecSparseMatrix::init(int n)
{
	if(n <= 0){
		;
	}
	return true;
}

bool RecSparseMatrix::put(int idx,int64_t& offset,int& rank)
{
	return true;
}
